<?php

/**
 *  pc 模块配置
 */
 return
    [
      "base"=>[
          "a" =>
              [
                  "Filed" => ["*"],

              ],
      ],
        /**
         *  充值提现流水账户
         */

       "usersjournalaccount"=> [ //
           "a" =>
               [
                   "Filed" => ["id", "type", "orientation","balance","created_at"],
                   "Label" => [ "ID","类型","方向","金额","时间"],
               ],
           "u" =>[
               "Filed" => [ "mobile"],
               "Label" => [ "用户手机"],
               "on" => ["users u","u.id=a.user_id","left"]
           ],
           "o" =>[
               "Filed" => [ "ordersn"],
               "Label" => [ "订单编号"],
               "on" => ["order_details o","o.id=a.order_id","left"]
           ]

       ],
        "usersinvest"=> [ //
            "a" =>
                [
                    "Filed" => ["*"],
                    "Label" => [ "订单编号"],


                ],


        ],

        "orderdetails"=>[
            "a" =>
                [
                    "Filed" => ["id","ordersn","equity_nums","Initial_price","buy_time","is_sell_status","manage_per",
                "capital_money","exercise_price","manage_money","direction","num","status","mouth_config_id","mouth_config_id AS dr","option_code","created_at","isdelete as lasttime"],
                ],
            "s" =>[
                "Filed" => [ "name","code","id as stock_id"],
                "Label" => [ "标地名称","标地代码","股票ID"],
                "on" => ["shares s","a.stock_id = s.id","left"]
            ],
            "c" =>[
                "Filed" => [ "key"],
                "Label" => [ "键"],
                "on" => ["configs c","c.id = s.attribute","left"]
            ],

            "u" =>[
                "Filed" => [ "mobile"],
                "Label" => [ "用户手机"],
                "on" => ["users u","u.id=a.user_id","left"]
            ],
        ]

    ];


?>